<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/includes.jsp" %>
<html>
<head>
  
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<title>点餐员注册</title>
	<link rel="stylesheet" type="text/css"  href="styles/styles.css"/>
    <script type="text/javascript" src="js/jquery/jquery.min.js"></script>
    <script type="text/javascript" src="js/onlinehotel/registerUser.js"></script>
</head>
<body>
	<form:form modelAttribute="customer" action="customer.do" method="post">
		<p><a href="<c:url value="/registerUser.do"/>"/>点餐员注册</a>　　<a href="<c:url value="/registerSender.do"/>"/>送餐员注册</a>　
		　<a href="<c:url value="/registerHotel.do"/>"/>饭店注册</a></p>
		<p>帐　　号：<form:errors path="account" cssClass="errors"/><form:input path="account" size="20" />
					&nbsp;&nbsp;<font color="red" style="font-size: 13px; ">*</font><span id="accountSpan"></span></p>
		<p>用户昵称：<form:errors path="customerName" cssClass="errors"/><form:input path="customerName" size="20" />
					&nbsp;&nbsp;<span id="customerNameSpan"></span></p>
		<p>密　　码：<form:errors path="customerPwd" cssClass="errors" /><form:password path="customerPwd" size="21" />
					&nbsp;&nbsp;<font color="red" style="font-size: 13px; ">*</font><span id="customerPwdSpan"></span></p>
		<p>密码确认：<input type="password" id="customerPwd2" name="customerPwd2" size="21" />
					&nbsp;&nbsp;<font color="red" style="font-size: 13px; ">*</font><span id="customerPwdSpan2"></span></p>
		<p>邮箱地址：<form:errors path="mailAccount" cssClass="errors" /><form:input path="mailAccount" size="20" />
					&nbsp;&nbsp;<font color="red" style="font-size: 13px; ">*</font><span id="mailAccountSpan"></span></p>
		<p>联系电话：<form:errors path="contactInfo" cssClass="errors" /><form:input path="contactInfo" size="20" />
					&nbsp;&nbsp;<font color="red" style="font-size: 13px; ">*</font><span id="contactInfoSpan"></span></p><!--
		<p>所属区域：<form:input path="account" size="20" /></p>
		<p>送餐地址：<form:input path="account" size="20" /></p>	
		--><input type="hidden"  id="method" name="method" value="addCustomer"/>
		<p>&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" id="btnCustomer" value="完成注册"/>&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" id="outRegister" value="退出注册"/></p>
	</form:form>
</body>
</html>